package com.hy.pojo.doctor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("doctors")
public class AppDoctor {
    @TableId("id")
    private int id;
    // 医生姓名
    @TableField("name")
    private String name;
    // 医生性别
    @TableField("gender")
    private String gender;
    // 医生头像链接
    @TableField("imgurl")
    private String imgUrl;
    @TableField("phone")
    // 医生电话号码
    private String phone;
    @TableField("hospital_id")
    // 所属医院ID
    private int hospitalId;
    @TableField("department_id")
    // 所属部门ID
    private int departmentId;
    @TableField("`desc`")
    // 描述或备注
    private String desc;
    @TableField("price")
    private Double price;
    @TableField("title")
    private String title;
}
